<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
  <!-- 这个页面中不要包含有js!!! -->
  </head>  
  <body>
  	<!-- 验证还是jquery-validation好用，这里省事没用 -->
	<form class="auform" id="limitForm" method="post">
		<input type="hidden" name="limitId" id="limitId" />
		<input type="hidden" name="createTime" id="createTime" />
		<table class="autable">
			<tr>
				<td class="autd1">权限名：</td>
				<td class="autd2"><input name="limitName" style="width:150px" validType="length[2,20]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">父权限：</td>
				<td class="autd2"><input name="limitFather" id="limitFather" style="width:150px" class="easyui-validatebox txt"></td>
			</tr>
			<tr>
				<td class="autd1">权限链接：</td>
				<td class="autd2"><input name="limitUrl" style="width:150px" validType="length[1,200]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">权限类型：</td>
				<td class="autd2"><select class="easyui-combobox" name="limitType" id="limitType" panelHeight="auto" style="width:150px" editable="false" required="true">
						<option value="${constant.IS_READ}" selected="selected">读取</option>
						<option value="${constant.IS_OPERATE}">操作</option>
					</select><span class="red">*</span>
				</td>
			</tr>
			<tr>
				<td class="autd1">链接页面CLASS：</td>
				<td class="autd2"><input name="limitPageClass" style="width:150px" validType="length[1,30]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">菜单权限：</td>
				<td class="autd2"><select class="easyui-combobox" name="limitMenu" id="limitMenu" panelHeight="auto" style="width:150px" editable="false" required="true">
						<option value="${constant.IS_MENU}" selected="selected">是</option>
						<option value="${constant.NO_MENU}">否</option>
					</select><span class="red">*</span>
				</td>
			</tr>
			<tr>
				<td class="autd1">排序：</td>
				<td class="autd2"><input name="limitSeq" style="width:150px" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">备注：</td>
				<td class="autd2"><textarea name="remark"  class="txtarea" style="height: 100px;width: 300px;"></textarea></td>
			</tr>
			<tr>
				<td class="autd3" colspan="4">
					<a href="#" id="btn-back" onclick="$('#MyPopWindow').window('close');" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
					<a href="#" id="btn-add" onclick="addOrUpdate('${param.update}');" class="easyui-linkbutton" iconCls="icon-save">保存</a>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
